using System;
using System.Collections.Generic;
using SCRUMPoker;

namespace SCRUMPoker.Web
{
    public class AppAdapter : IApp
    {
        public List<Game> Games
        {
            get { return ScrumPokerApp.Games; }
            set {  }
        }

        public Game CreateGame(string subject)
        {
            return ScrumPokerApp.CreateGame(subject);
        }

        public Game FindGame(string subject)
        {
            return ScrumPokerApp.FindGame(subject);
        }

        public void RemoveGame(string subject)
        {
            ScrumPokerApp.RemoveGame(subject);
        }
    }
}
